BeOS USB subsystem patch.

WARNING! To apply this patch you will need change some system files! This can ruin your system! Do not experiment with this stuff on your  working systems! It is the good idea to have another copy of BeOS installed to be able roll back changes made during this update!!! You are warned!

There are 3 patches

1) USB patch - this one makes possible to work with OHCI USB hardware under BeOS ... 
2) USB modem patch - this one makes possible to use some of "full" USB modems. Those modems also knon as ACM-compatible.
3) USB modems patch.sm - contains updated Lucent and PCTel software modems drivers. That drivers have to be disabled during applying patch 2. 
 
How To apply patches

1) get the beos-usb.patch.zip and:
rename /boot/beos/system/add-ons/kernel/bus_managers/usb   to  usb.disabled
rename /boot/beos/system/add-ons/kernel/busses/usb/uhci   to  uhci.disabled
rename /boot/beos/system/add-ons/kernel/drivers/bin/usb_raw to usb_raw.disabled 
rename /boot/beos/system/add-ons/kernel/drivers/bin/usb_printer to usb_printer.disabled

unpack beos-usb.patch.zip and
copy usb to /boot/home/config/add-ons/kernel/bus_managers
copy uhci to /boot/home/config/add-ons/kernel/busses/usb
copy ohci to /boot/home/config/add-ons/kernel/busses/usb
copy usb_printer to /boot/home/config/add-ons/kernel/drivers/bin/
copy usb_raw to /boot/home/config/add-ons/kernel/drivers/bin/

make the following symbolic links on copied files:
usb_printer -> ../dev/printer/usb/usb_printer
usb_raw -> ../dev/bus/usb/usb_raw 

reboot your computer and pray ... If boot fails - try to reboot  again. If all is OK -  now you should have working USB.  If system crashes on boot anyway - boot in safe mode with disabled user add-ons and roll back all changes that you made. It is not your day, sorry ... 

2) To apply this patch - the previous one should be successfully applied. If you want to use ACM/compatible USB modem - get the beos-usb.modem-patch.zip and:

rename /boot/beos/system/add-ons/kernel/bus_managers/tty   to  tty.disabled
rename /boot/beos/system/add-ons/kernel/drivers/bin/ltmodem to ltmodem.disabled 
rename /boot/beos/system/add-ons/kernel/drivers/bin/pctel to pctel.disabled
rename /boot/beos/system/add-ons/kernel/drivers/bin/pty to pty.disabled 
rename /boot/beos/system/add-ons/kernel/drivers/bin/zz to zz.disabled

unpack beos-usb.modem-patch.zip and
copy tty to /boot/home/config/add-ons/kernel/bus_managers
copy pty to /boot/home/config/add-ons/kernel/drivers/bin/
copy zz to /boot/home/config/add-ons/kernel/drivers/bin/
copy usb_acm to /boot/home/config/add-ons/kernel/drivers/bin/

make the following symbolic links on copied files:
pty -> ../dev/pt/pty
pty -> ../dev/tt/pty
zz -> ../dev/ports/zz
usb_acm -> ../dev/ports/usb_acm 

Reboot your system again and pray ...

3) If you want to enable using Lucent and PCTel softmodems - get the beos-usb.modem-patch.sm.zip

unpack beos-usb.modem-patch.sm.zip and
copy ltmodem to /boot/home/config/add-ons/kernel/drivers/bin/
copy pctel to /boot/home/config/add-ons/kernel/drivers/bin/

make the following symbolic links on copied files:
ltmodem -> ../dev/ports/ltmodem
pctel -> ../dev/ports/pctel 

Good luck!
